﻿@model IEnumerable<HexagonWeb.Models.Message>

@{
    Layout = "~/Views/Shared/_Layout.cshtml";
    ViewBag.Title = "通知";
}

<div class="row">
    <div class="col-md-3 col-sm-4">@Html.Partial("Info")</div>
    <div class="col-md-9 col-sm-8">
        <table class="table">
            <tr>
                <th>
                    @Html.DisplayNameFor(model => model.Title)
                </th>
                <th>
                    @Html.DisplayNameFor(model => model.Content)
                </th>
                <th>
                    @Html.DisplayNameFor(model => model.PublishTime)
                </th>
                <th></th>
            </tr>

            @foreach (var item in Model) {
                <tr>
                    <td>
                        @Html.DisplayFor(modelItem => item.Title)
                    </td>
                    <td>
                        @Html.DisplayFor(modelItem => item.Content)
                    </td>
                    <td>
                        @Html.DisplayFor(modelItem => item.PublishTime)
                    </td>
                </tr>
}

        </table>
    </div>
</div>